package com.webside.advertisement.mapper;
 

import java.util.List;
import java.util.Map;

import com.webside.advertisement.model.AdPositionEntity;
import com.webside.advertisement.model.AdvertisementEntity;
import com.webside.base.basemapper.BaseMapper;
 
 

public interface AdPositionMapper extends BaseMapper<AdPositionEntity, Long> {
   
	//<!-- editUI查询 -->
  	public AdPositionEntity findById(Long id);
    //<!-- 修改 -->
  	public int update(AdPositionEntity advertisementEntity);
    //<!-- 刪除 -->
    public int deleteBatchById(List<Long> id);
    //<!-- 添加 -->
    public int insert(AdPositionEntity advertisementEntity);
    //<!-- list查询 -->
  	public List<AdPositionEntity> queryListByPage(Map<String, Object> parameter);
  //<!-- 修改状态 -->
  	public int updatestatus(AdvertisementEntity advertisementEntity);
  	//查询所有广告位ID
  	public List<AdPositionEntity> queryAllAdPositionCode();

}